package com.liveneo.adapter.base.mapper;

import com.liveneo.adapter.base.entity.PrpmMobileModel;
import com.liveneo.adapter.base.entity.PrpmMobileModelExample;
import com.liveneo.adapter.base.support.BaseMapper;
import java.util.List;
import org.apache.ibatis.annotations.Param;

/**
 * 手机信息收集 映射器的接口
 * 依赖配置文件：PrpmMobileModelMapper.xml
 * 
 * @author fucy
 * @since 2016-06-05
 */
public interface PrpmMobileModelMapper extends BaseMapper<PrpmMobileModel> {
    int countByExample(PrpmMobileModelExample example);

    int deleteByExample(PrpmMobileModelExample example);

    List<PrpmMobileModel> selectByExample(PrpmMobileModelExample example);

    int updateByExampleSelective(@Param("record") PrpmMobileModel record, @Param("example") PrpmMobileModelExample example);

    int updateByExample(@Param("record") PrpmMobileModel record, @Param("example") PrpmMobileModelExample example);

    PrpmMobileModel getMobileModel(PrpmMobileModel prpmMobileModel);

    int addMobileModel(PrpmMobileModel prpmMobileModel);

    List<PrpmMobileModel> queryPre();

    boolean exits(String phoneModel, String phoneNo, String systemInfo);
}